Software update program for in-vehicle devices and associated server

ABSTRACT

A program update system includes a vehicle including a plurality of in-vehicle devices, and a server provided outside the vehicle. Each of the in-vehicle devices of the vehicle includes a storage unit configured to store one or more programs, an in-vehicle device communication unit configured to perform communication with the server, and an update execution unit configured to update the programs stored in the storage unit. The server includes a server communication unit configured to perform communication with each of the in-vehicle devices, and an update management unit configured to specify the in-vehicle device to be updated in a set of the in-vehicle devices and a program to be updated and execute update processing that makes the server communication unit transmit update data for updating the program to be updated to the in-vehicle device to be updated.

INCORPORATION BY REFERENCE

This application is a continuation of U.S. Application 17/243,896, filed on Apr. 29, 2021, which is a continuation of U.S. Application 16,436,300, filed on Jun. 10, 2019, which claims priority to Japanese Patent Application No. 2018-142484 filed on Jul. 30, 2018, the specification, drawings, claims, and abstract of each of which are incorporated herein by reference in their entirety.

BACKGROUND 1. Technical Field

The present disclosure relates to a program update system that updates a program of equipment mounted in a vehicle, a program update server, and a vehicle.

2. Description of Related Art

In a vehicle, a plurality of in-vehicle devices, called an electronic control unit (ECU), is mounted. Each of the in-vehicle devices, such as the ECU, includes a controller, such as one or more central processing units (CPUs), and a storage unit that stores one or more programs to be executed by the controller. For improvement of functions of the in-vehicle device, updating the programs has been suggested. In particular, a technique in which a vehicle receives data for a program update from an external server through wireless communication such that the programs can be updated even though the vehicle does not visit a maintenance facility or the like has been suggested.

Japanese Unexamined Patent Application Publication No. 2011-148398 (JP 2011-148398 A) discloses that a specific ECU functions as a master ECU and performs communication with a server to update the programs of the master ECU or other slave ECUs.

SUMMARY

In JP 2011-148398 A, the master ECU holds identification information of the master ECU and the slave ECUs and version information of a control program. The master ECU transmits the identification information and the version information to the server, and when there are update files, the server transmits the identification information and the update files to the master ECU. When an ECU corresponding to the identification information is the master ECU, the master ECU updates the control program of the master ECU based on the update files. When the ECU corresponding to the identification information is a slave ECU, the master ECU transmits the update files to the slave ECU, and the slave ECU updates the control program based on the update files.

In the method of JP 2011-148398 A, the master ECU needs to execute processing depending on an ECU configuration unique to the vehicle, in which the master ECU is mounted. For this reason, in order to respond to a different ECU configuration, a master ECU having a different setting needs to be prepared for each vehicle type or model and a workload is large.

The disclosure provides a program update system, a program update server, and a vehicle capable of suppressing a workload in preparing a master ECU corresponding to a unique in-vehicle device configuration for each vehicle.

A first aspect of the disclosure relates to a program update system. The program update system includes a vehicle and a server. The vehicle includes a plurality of in-vehicle devices. The server is provided outside the vehicle. Each of the in-vehicle devices of the vehicle includes a storage unit, an in-vehicle device communication unit, and an update execution unit. The storage unit is configured to store one or more programs. The in-vehicle device communication unit is configured to perform communication with the server. The update execution unit is configured to update the programs stored in the storage unit based on communication with the server using the in-vehicle device communication unit. The server includes a server communication unit and an update management unit. The server communication unit is configured to perform communication with each of the in-vehicle devices. The update management unit is configured to specify the in-vehicle device to be updated in a set of the in-vehicle devices and a program to be updated based on information received from each of the in-vehicle devices through communication using the server communication unit and execute update processing that makes the server communication unit transmit update data for updating the program to be updated to the in-vehicle device to be updated.

According to the first aspect, each of the in-vehicle devices performs communication with the server to update the programs of the in-vehicle device, whereby an advanced master function of managing the configurations of the in-vehicle devices or the versions of the programs may not be provided in the vehicle. Since the server specifies the in-vehicle device to be updated for the set of all of the in-vehicle devices of the vehicle, for example, it is possible to suppress omission of a synchronous update, or the like.

In the program update system according to the first aspect, the update execution unit may be configured to transmit information representing a classification and a version of each program stored in the storage unit from the in-vehicle device communication unit to the server.

In the program update system according to the first aspect, the server communication unit may be configured to perform communication with a terminal device outside the vehicle. The update management unit may be configured to make the server communication unit transmit information relating to the update processing to be displayed on a display screen of the terminal device to the terminal device.

According to the first aspect, even though the user does not board the vehicle, it is possible to allow the user to issue an instruction for program update processing or confirm progress statuses using a smartphone or the like. Since the server may respond to a communication system, a display system, or the like of the terminal device, there is no need for each vehicle to respond to the communication system, the display system, or the like of the terminal device.

A second aspect of the disclosure relates to a program update server that performs communication with a vehicle including a plurality of in-vehicle devices. The program update server includes a communication unit and an update management unit. The communication unit is configured to perform communication with each of the in-vehicle devices. The update management unit is configured to specify the in-vehicle device to be updated in a set of the in-vehicle devices and a program to be updated based on information received from each of the in-vehicle devices and execute update processing that makes the communication unit transmit update data for updating the program to be updated to the in-vehicle device to be updated.

According to the second aspect, since the server sequentially performs communication with each of the in-vehicle devices, and specifies the in-vehicle device to be updated for the set of all of the in-vehicle devices of the vehicle without exception, it is possible to update the program even though an advanced master function of managing the configurations of the in-vehicle devices or the versions of the programs is not provided in the vehicle.

A third aspect of the disclosure relates to a vehicle. The vehicle includes a plurality of in-vehicle devices. Each of the in-vehicle devices includes a storage unit, a communication unit, and an update execution unit. The storage unit is configured to store one or more programs. The communication unit is configured to perform communication with an external server. The update execution unit is configured to update the programs stored in the storage unit based on communication with the external server using the communication unit.

According to the third aspect, each of the in-vehicle devices sequentially performs communication with the server to update the program of the in-vehicle device, whereby it is possible to update the program even though an advanced master function of managing the configurations of the in-vehicle devices or the versions of the programs is not provided in the vehicle.

As described above, according to the aspects of the disclosure, it is possible to provide a program update system, a program update server, and a vehicle having a suppressed workload in responding to the in-vehicle device configuration of each vehicle, in which the above-described master function is provided.

BRIEF DESCRIPTION OF THE DRAWINGS

Features, advantages, and technical and industrial significance of exemplary embodiments of the disclosure will be described below with reference to the accompanying drawings, in which like numerals denote like elements, and wherein:

FIG. 1 is a diagram showing functional blocks of a program update system according to an embodiment of the disclosure;

FIG. 2 is a sequence diagram showing an example of processing according to the embodiment of the disclosure; and

FIG. 3 is a diagram showing an example of data for use in the processing according to the embodiment of the disclosure.

DETAILED DESCRIPTION OF EMBODIMENTS Outline

In a program update system according to an embodiment of the disclosure, each of in-vehicle devices sequentially performs communication with a server to update programs of the in-vehicle device. With this, it is possible to reduce a workload in providing an advanced master function of managing the configurations of the in-vehicle devices or the versions of the programs in a vehicle. Since the server specifies an in-vehicle device to be updated for the set of all of the in-vehicle devices of the vehicle, for example, it is possible to suppress omission of a synchronous update, or the like. The server can perform communication with a smartphone or the like, and the user can issue an instruction for program update processing or confirm progress statuses even outside the vehicle. Since the server may respond to a communication system with the smartphone, a display system, or the like, a workload of each vehicle in responding to the communication system, the display system, or the like does not occur.

Embodiment

Hereinafter, an embodiment of the disclosure will be described in detail referring to the drawings.

Configuration

FIG. 1 shows functional blocks of a configuration example of a program update system 100 and a terminal device 3 according to the embodiment. The program update system 100 includes a vehicle 1 and a server 2. Although the vehicle 1 includes, as an example, a data communication module (DCM) 15 that performs wireless communication, and three in-vehicle devices 10A, 10B, 10C, the number of in-vehicle devices is not limited to three. The server 2 includes a server communication unit 21 and an update management unit 22.

Each of the in-vehicle devices 10A, 10B, 10C of the vehicle 1 includes a storage unit 11, an in-vehicle device communication unit 12, and an update execution unit 13. In the in-vehicle devices 10A, 10B, 10C, the storage unit 11 stores one or more programs that are executed by a controller (CPU) (not shown). The in-vehicle device communication unit 12 performs communication with the server 2 using a wireless communication function of the DCM 15. The update execution unit 13 makes the storage unit 11 store a new program based on update data received from the server 2 by the in-vehicle device communication unit 12 to update the programs. The functions of the in-vehicle device communication unit 12 and the update execution unit 13 can be executed by the controller. Not all of the in-vehicle devices of the vehicle 1 may be an in-vehicle device in which the programs can be updated.

The server communication unit 21 of the server 2 performs communication with the vehicle 1 and the terminal device 3. The update management unit 22 specifies an in-vehicle device to be updated among the in-vehicle devices 10A, 10B, 10C of the vehicle 1 through communication with the vehicle 1 using the server communication unit 21, and specifies a program to be updated as described below. The update management unit 22 performs control such that the server communication unit 21 transmits update data for use in updating the program to be updated to the in-vehicle device to be updated.

The terminal device 3 is an information processing device that has a communication function with the server 2, and includes a display screen, on which information relating to the program update processing is displayed, and an input unit. The terminal device 3 is, for example, a general-purpose information processing device, such as a smartphone or tablet type equipment to be typically carried with a user of the vehicle 1, or personal computer. The terminal device 3 may be a device that is mounted in the vehicle 1, such as a car navigation device. In this way, the terminal device 3 is not limited in terms of a classification, the number of terminal device, and a position.

Processing

FIG. 2 is a sequence diagram showing processing that is executed by the program update system 100. FIG. 3 shows an example of data for use in the processing. A processing content will be described referring to FIGS. 2 and 3 . The processing may be executed, for example, regularly or may be executed when the user issues an instruction to the terminal device 3 as described below.

(Step S101): The update execution unit 13 of the in-vehicle device 10A of the vehicle 1 transmits information, such as identifiers, for representing classifications and versions of the programs stored in the storage unit 11 of the in-vehicle device 10A from the in-vehicle device communication unit 12 to the server 2 through the DCM 15 of the vehicle 1.

(Step S102): Similarly, the update execution unit 13 of the in-vehicle device 10B of the vehicle 1 transmits information, such as identifiers, for representing classifications and versions of the programs stored in the storage unit 11 of the in-vehicle device 10B from the in-vehicle device communication unit 12 to the server 2 through the DCM 15 of the vehicle 1.

(Step S103): Similarly, the update execution unit 13 of the in-vehicle device 10C of the vehicle 1 transmits information, such as identifiers, for representing classifications and versions of the programs stored in the storage unit 11 of the in-vehicle device 10C from the in-vehicle device communication unit 12 to the server 2 through the DCM 15 of the vehicle 1. The order of Steps S101 to S103 is not limited.

In “acquisition of identifier of current program of in-vehicle device” of FIG. 3 , an example where the server 2 acquires information from each of the in-vehicle devices 10A, 10B, 10C is shown. The update management unit 22 of the server 2 acquires, as an example, information representing the classifications and the versions of four programs, two programs, or one program and unique management numbers for identifying a series of processing in the sequence from the in-vehicle devices 10A, 10B, 10C through the server communication unit 21, respectively.

(Step S104): The update management unit 22 of the server 2 specifies a system version of the set of the in-vehicle devices 10A, 10B, 10C of the vehicle 1 based on the identifiers of the current programs in the set of the in-vehicle devices 10A, 10B, 10C of the vehicle 1. The specification can be performed, for example, when the server 2 stores the correspondence between the in-vehicle devices 10A, 10B, 10C and the versions of the programs for each system version and compares the correspondence with the current versions of the programs of the in-vehicle devices 10A, 10B, 10C. In “specification of current version of system” of FIG. 3 , an example of data representing the specified current system version is shown.

(Step S105): The update management unit 22 of the server 2 confirms an updated system version to the current system version. Information of the updated system version and an update program are provided to the server 2, for example, each time an update is available from a provision source of a program. In “confirmation of latest version of system” of FIG. 3 , an example of data representing the updated system version is shown. In the example, updated programs are provided to two programs among the programs of the in-vehicle device 10A, and two programs among the programs of the in-vehicle device 10B.

(Step S106): The update management unit 22 of the server 2 makes the server communication unit 21 transmit a confirmation result of the updated system version to the terminal device 3.

(Step S107): The terminal device 3 receives the confirmation result of the updated system version and displays the confirmation result of the updated system version to the user. When there is no updated system version, the terminal device 3 displays the result that there is no update system version, and the sequence ends.

(Step S108): The terminal device 3 receives, from the user, an instruction representing whether or not to execute the update of the programs.

(Step S109): The terminal device 3 transmits the instruction received from the user to the server 2.

(Step S110): When the instruction of the user is an instruction not to execute the update of the programs, the update management unit 22 of the server 2 ends the processing. When the instruction of the user is an instruction to execute the update of the programs, the update management unit 22 of the server 2 makes the server communication unit 21 transmit update data needed for updating the programs to the in-vehicle device having the storage unit 11, which stores the programs to be updated, among the in-vehicle devices 10A, 10B, 10C. In the example shown in “specification of update program of in-vehicle device” of FIG. 3 , update data of the two programs is transmitted to the in-vehicle device 10A, and update data of the two programs is transmitted to the in-vehicle device 10B; however, since a program to be updated is absent in the in-vehicle device 10C, update data is not transmitted to the in-vehicle device 10C.

(Step S111): When the in-vehicle device communication unit 12 receives update data through the DCM 15, the update execution unit 13 of the in-vehicle device 10A of the vehicle 1 updates the programs stored in the storage unit 11 of the in-vehicle device 10A based on the update data and updates information representing the versions of the programs.

(Step S112): Similarly, when the in-vehicle device communication unit 12 receives update data through the DCM 15, the update execution unit 13 of the in-vehicle device 10B of the vehicle 1 updates the programs stored in the storage unit 11 of the in-vehicle device 10B based on the update data and updates information representing the versions of the programs.

(Step S113): Similarly, when the in-vehicle device communication unit 12 receives update data through the DCM 15, the update execution unit 13 of the in-vehicle device 10C of the vehicle 1 updates the program stored in the storage unit 11 of the in-vehicle device 10C based on the update data and updates information representing the version of the program. In the example shown in “specification of update program of in-vehicle device” of FIG. 3 , since an update is not available to the program of the in-vehicle device 10C, the processing is not executed.

With the above, the sequence ends. The above processing can be appropriately changed and executed. For example, after the execution of Steps S111 to S113, the in-vehicle devices 10A, 10B, 10C may give a completion notification of the update of the programs to the server 2, and the server 2 may transmit the completion notification to the terminal device 3 and may notify the user of the completion. When the server 2 transmits the progress status of each step to the terminal device 3 in parallel with the progress of the update processing, it is possible to notify the user of the progress status. The execution of the above sequence may be started when the terminal device 3 receives the execution instruction from the user and transmits the execution instruction to the server 2, and the server 2 requests the in-vehicle devices 10A, 10B, 10C to execute the processing of Steps S101 to S103.

Effects

In the embodiment, the in-vehicle devices 10A, 10B, 10C sequentially transmit the classifications and the versions of the programs of the in-vehicle devices 10A, 10B, 10C to the server 2, and the system version of each vehicle can be specified on the server 2 side. Since the storage and the management of the system version may be performed in a batch for each vehicle type or model on the server 2 side, and in-vehicle device having an advanced master function of acquiring and managing the configurations of the in-vehicle devices and the classifications and the versions of the programs of each vehicle is not needed on the vehicle side, it is possible to significantly reduce a workload in responding to the configurations of the in-vehicle devices and the classifications and the versions of the programs. Adjustment of communication timing between the in-vehicle devices 10A, 10B, 10C and the server 2 can be implemented, for example, by providing a simple communication control function in the vehicle 1. Any one of the in-vehicle devices 10A, 10B, 10C may operate as a simple master having a minimum communication control function.

The server 2 manages the versions in a system version unit of the set of all of the in-vehicle devices 10A, 10B, 10C and confirms the presence or absence of the update program. For this reason, for example, even when the programs of a plurality of in-vehicle devices are related to one another, and a program update needs to be executed synchronously, it is desirable to execute an update without omission of a synchronous update.

In the related art, confirmation of progress statuses of the update processing of the programs or reception of an update instruction from the user before the execution of the update processing may be performed, for example, by a specific terminal device, such as a navigation device or the like fixedly provided in the vehicle and a master function of the vehicle. In contrast, in the embodiment, the server 2 can perform communication not only with the navigation device fixedly provided in the vehicle but also with a terminal device 3 not fixedly provided in the vehicle, such as a smartphone or a personal computer. For this reason, even though the user does not board the vehicle, it is possible to allow the user to issue an instruction for the program update processing or to confirm the progress statuses, and to improve user’s convenience.

The server 2 may respond to a communication system, a display system, or the like of each terminal device 3, and there is no need for each vehicle to respond to the communication system, the display system, or the like of each terminal device 3.

As described above, in the program update system according to the embodiment of the disclosure, it is possible to suppress a workload in manufacturing a master ECU corresponding to the in-vehicle device configuration of each vehicle to reduce costs of the vehicle or to allow an update instruction or an update status confirmation from various terminal devices, and to improve user’s convenience.

Although the embodiment of the disclosure has been described above, the disclosure can be regarded as a program update system, a program update server, a vehicle, a program update method that is executed by each unit of the server or the vehicle, a program update program, a non-transitory computer-readable recording medium storing the program update program, and the like.

The disclosure is useful for a program update system, a program update server, and a vehicle that update programs of in-vehicle devices or the like. 

What is claimed is:
 1. A program update system comprising: a vehicle including a plurality of in-vehicle devices; and a server provided outside the vehicle, wherein each of the in-vehicle devices of the vehicle includes: a storage configured to store one or more programs, and a processor programmed to: perform communication with the server, transmit information representing a classification and a current version of each program stored in the storage from the in-vehicle device to the server, and update the programs stored in the storage based on communication with the server, and wherein the server includes: a server processor programmed to: perform communication with each of the in-vehicle devices, specify an in-vehicle device to be updated in a set of the in-vehicle devices, and a program of the in-vehicle device to be updated based on the information representing the classification and the current version of the program, perform communication with a smartphone or electronic tablet device outside the vehicle, transmit information indicating that an update for the program is available to the smartphone or electronic tablet device, receive an instruction from the smartphone or electronic tablet device that instructs to execute update processing of the program to be updated, and execute the update processing so as to control the server processor to transmit update data for updating the program to be updated to the in-vehicle device to be updated, in response to receiving the instruction from the smartphone or electronic tablet.
 2. A program update server that performs communication with a vehicle including a plurality of in-vehicle devices, the program update server comprising: a server processor programmed to: perform communication with each of the in-vehicle devices; receive information representing a classification and a current version of each program that is stored in a storage of each of the plurality of in-vehicle devices; specify an in-vehicle device to be updated in a set of the in-vehicle devices and a program of the in-vehicle device to be updated based on the information representing the classification and the current version of the program, perform communication with a smartphone or electronic tablet device outside the vehicle, transmit information indicating that an update for the program is available to the smartphone or electronic tablet device, receive an instruction from the smartphone or electronic tablet device that instructs to execute update processing of the program to be updated, and execute the update processing so as to control the server processor to transmit update data for updating the program to be updated to the in-vehicle device to be updated, in response to receiving the instruction from the smartphone or electronic tablet. 